Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[trello.com/c/sI4VXuJa] Added swipe gestures (left & down) to Snackbar #595

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

IanaaDvlp
Copy link
Member

No description provided.

hasher.combine(title)
hasher.combine(description)
hasher.combine(tapHandler)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

@@ -10,8 +10,13 @@ import CommonKit

struct NotificationView: View {
@State private var dragTranslation: CGFloat = .zero
@State private var horizontalDragTranslation: CGFloat = .zero
@State private var minTranslationForDismiss: CGFloat = .infinity
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Y

dismissAction()
}
} else if $0.velocity.height > -100 || -$0.translation.height < minTranslationForDismiss {
horizontalDragTranslation = .zero
Copy link
Member

@just-software-dev just-software-dev Nov 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove? Animation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants